<h1 class="user-title">{{title}}</h1>
<form class="searchForm form-inline">
    <div class="form-group">
        <input type="text" id="search" class="form-control" ng-model="content" placeholder="商户号/备注">
        <button type="submit" class="btn btn-primary" ng-click="search()"><i class="glyphicon glyphicon-search"></i></button>
    </div>
</form>
<table class="table table-bordered table-hover">
    <thead>
    <tr>
        <th >序号</th>
        <th >商户号</th>
        <th >密钥</th>
        <th >验证内容</th>
        <th >状态</th>
        <th>备注</th>
        <th >编辑</th>
        <th>删除</th>
    </tr>
    </thead>
    <tbody>
    <tr ng-repeat="user in items">
        <th>{{$index+1+(p_current-1)*15}}</th>
        <td>{{user.appId}}</td>
        <td>{{user.secretKey}}</td>
        <td>{{user.checkContent}}</td>
        <td>{{user.status}}</td>
        <td>{{user.remark}}</td>
        <td><a href="/#/editUser/{{user._id}}"><span class="glyphicon glyphicon-pencil"></span></a></td>
        <td><a href="/#/deleteUser/{{user._id}}"><span class="glyphicon glyphicon-remove"></span></a></td>
    </tr>
    </tbody>
</table>
<nav>
    <ul class="pagination">
        <li>
            <a ng-click="First()">
                <span>首页</span>
            </a>
        </li>
        <li>
            <a ng-click="Previous()">
                <span>上一页</span>
            </a>
        </li>
        <li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}" >
            <a ng-click="selectPage(page)" >{{ page }}</a>
        </li>
        <li>
            <a ng-click="Next()">
                <span>下一页</span>
            </a>
        </li><li>
            <a ng-click="Last()">
                <span>尾页</span>
            </a>
        </li>
    </ul>
</nav>
<div class="remark">
    <b>状态：</b>0-未使用商户号  1-正在使用的商户号  2-不在合同期内的商户号
</div>